package com.hqyj.project.service;


import com.hqyj.project.utils.CommonResult;
import com.hqyj.project.vo.EmailVo;
import com.hqyj.project.vo.PageUserVo;
import com.hqyj.project.vo.UserAllVo;


public interface UserService {
    CommonResult login(String userName,String userPwd);

    CommonResult logout();

    CommonResult selectUserMenuList(String userName);

    CommonResult selectUserAll(PageUserVo page);

    CommonResult deleteUser(Integer userId);

    CommonResult selectLickUser(String userRealName, String userTel);

    CommonResult updateUser(UserAllVo userAllVo);

    CommonResult insertUser(UserAllVo userAllVo);

    CommonResult selectLoginUser(String userName);

    CommonResult updateLoginUser(UserAllVo userAllVo);

    CommonResult emailCode(String userName, String userEmail);

    CommonResult updateUserPwd(EmailVo emailvo);

    CommonResult duplicateUserName(String userName);
}
